Returns True if the two specified Basic Uno objects represent the same Uno object instance.
2 つの Basic Uno オブジェクトが同一の Uno オブジェクトインスタンスを示す場合、True を返します。
EqualUnoObjects( oObj1, oObj2 )
EqualUnoObjects( oObj1, oObj2 )
Bool
ブール型
// Copy of objects -> same instance
// Copy of objects -> same instance
oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" )
oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" )
oIntro2 = oIntrospection
oIntro2 = oIntrospection
print EqualUnoObjects( oIntrospection, oIntro2 )
print EqualUnoObjects( oIntrospection, oIntro2 )
// Copy of structs as value -> new instance
// Copy of structs as value -> new instance
Dim Struct1 as new com.sun.star.beans.Property
Dim Struct1 as new com.sun.star.beans.Property
Struct2 = Struct1
Struct2 = Struct1
print EqualUnoObjects( Struct1, Struct2 )
print EqualUnoObjects( Struct1, Struct2 )